package Util;

import java.sql.Connection;
import java.sql.DriverManager;

public class Conexion {

	public static Connection getConexion() throws Exception {
		String driver = "oracle.jdbc.driver.OracleDriver";
	    String url = "jdbc:oracle:thin:@localhost:1521:catering";
	    String username = "HR";
	    String password = "admjcatering";
	    Class.forName(driver);
	    return DriverManager.getConnection(url, username, password);
	}	
}
